package com.cyq.day06;

public class Demo01 {
    public static void main(String[] args) {
        //声明二维数组
        int[] [] ary={{1,2,3,4},{5,6,7,8}};
        //System.out.println(ary[0][1]);
        for (int a[]:ary
             ) {
            for (int b:a
                 ) {
                System.out.println(b);
            }
        }
    }
}
